imagebuttonların yerleri karışıyor
arkadaşlar ekteki kodda neden hem düz hemde yatay cevirince ekranı bütün butonlar birbirine giriyor ve dagılıyor.relativelayoutta yaptım olmuyor
[code]
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical"
android:weightSum="1"
android:background="@drawable/background4"
android:baselineAligned="false">
<ImageButton android:id="@+id/myButton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="0dp"
android:padding="100dip"
android:src="@drawable/ss"
android:background="@android:color/transparent"
android:layout_marginBottom="0dp"
android:layout_marginTop="-95dp" />
<ImageButton android:id="@+id/myButton1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="-195dp"
android:layout_marginLeft="0dp"
android:padding="100dip"
android:src="@drawable/vv"
android:background="@android:color/transparent" />
<ImageButton android:id="@+id/myButton2"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="-195dp"
android:layout_marginLeft="0dp"
android:padding="100dip"
android:src="@drawable/yy"
android:background="@android:color/transparent" />
<ImageButton android:id="@+id/myButton3"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="-180dp"
android:padding="100dip"
android:src="@drawable/xx"
android:background="@android:color/transparent"
android:layout_marginBottom="0dp"
android:adjustViewBounds="true"
android:layout_marginLeft="0dp" />
<ImageButton android:id="@+id/myButton4"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="-82dp"
android:layout_marginLeft="0dp"
android:padding="100dip"
android:src="@drawable/zz"
android:layout_marginBottom="0dp"
android:cropToPadding="false"
android:focusable="false"
android:background="@android:color/transparent" />
</LinearLayout>
[/code]